diff options
Diffstat (limited to 'src/pages/blog/read/[...slug].astro')
-rw-r--r-- | src/pages/blog/read/[...slug].astro | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/pages/blog/read/[...slug].astro b/src/pages/blog/read/[...slug].astro index 348a976..5b42e86 100644 --- a/src/pages/blog/read/[...slug].astro +++ b/src/pages/blog/read/[...slug].astro @@ -133,8 +133,8 @@ const commit = await verification?.commit; <BaseHead title={post.data.title} description={"description" in post.data - ? post.data.description - : post.data.title} + ? post.data.description + : post.data.title} /> </head> @@ -158,16 +158,14 @@ const commit = await verification?.commit; </hgroup> { "description" in post.data && post.data.description && - ( + ( <section itemprop="abstract"> <h2>Resumo</h2> { post.data.description.split(new RegExp("\\s{2,}")) - .map(( - x, - ) => ( - <p>{x}</p> - )) + .map(( + x, + ) => <p>{x}</p>) } </section> ) @@ -176,7 +174,7 @@ const commit = await verification?.commit; <footer> { verification?.verifications && - ( + ( <Authors verifications={verification.verifications} expectedSigners={signers} @@ -192,8 +190,8 @@ const commit = await verification?.commit; datetime={toIso8601Full(post.data.dateCreated)} >{ new Intl.DateTimeFormat([lang], {}).format( - post.data.dateCreated, - ) + post.data.dateCreated, + ) }</time> </dd> { @@ -204,15 +202,15 @@ const commit = await verification?.commit; datetime={toIso8601Full(post.data.dateUpdated)} >{ new Intl.DateTimeFormat([lang], {}).format( - post.data.dateUpdated, - ) + post.data.dateUpdated, + ) }</time> </dd> ) } { "locationCreated" in post.data && - post.data.locationCreated && ( + post.data.locationCreated && ( <dt itemprop="locationCreated" itemscope |